from controller.Index import IndexHandler
from controller.Student import StudentHandler
from controller.Teacher import TeacherHandler
from controller.Record import RecordHandler, RecordDownloadHandler
from controller.Course import CourseHandler
from controller.Login import LoginHandler, YzmHandler
from controller.Test import TestHandler
from controller.Feedback import FeedbackHandler

handlers = [
    (r'/', IndexHandler),
    (r'/api/student', StudentHandler),
    (r'/api/teacher', TeacherHandler),
    (r'/api/record', RecordHandler),
    (r'/api/record.xlsx', RecordDownloadHandler),
    (r'/api/course', CourseHandler),
    (r'/login', LoginHandler),
    (r'/test', TestHandler),
    (r'/api/feedback', FeedbackHandler),
    (r'/api/yzm', YzmHandler),
]